namespace TestApp.DataService
{
    using System.Collections.Generic;
    using Contracts;
    using JetBrains.Annotations;

    internal interface IDataStore
    {
        bool TryGetDataEntities(long version, out long dataVersion, out IEnumerable<DataEntityDto> entities);
        
        void SaveDataEntity([NotNull] DataEntityDto entity);
    }
}